package system.base;

import framework.core.*;

/*
	Author    :Arrow
	CreateTime:2009-05-14 15:27:41
*/
public class BillMonthIoSearchEvent extends SearchEvent
{

	private String m_id = "" ; // all

	private String m_warehouse_code = "" ; // all

	private String m_warehouse_name = "" ; // all

	private String m_money_type = "" ; // all

	private String m_money_io = "" ; // all

	private double m_money = Value.NULL_DOUBLE ; // all

	private String m_money_date = "" ; // all

	private String m_create_user_id = "" ; // all

	private String m_create_user = "" ; // all

	private String m_create_time = "" ; // all
		

public BillMonthIoSearchEvent() 
{
	super();
	
	setOrderField(BillMonthIo.ID);
		
}



	public String getId()
	{
		return m_id ;
	}
	public void setId(String v)
	{
		m_id = v;
	}

	public String getWarehouseCode()
	{
		return m_warehouse_code ;
	}
	public void setWarehouseCode(String v)
	{
		m_warehouse_code = v;
	}

	public String getWarehouseName()
	{
		return m_warehouse_name ;
	}
	public void setWarehouseName(String v)
	{
		m_warehouse_name = v;
	}

	public String getMoneyType()
	{
		return m_money_type ;
	}
	public void setMoneyType(String v)
	{
		m_money_type = v;
	}

	public String getMoneyIo()
	{
		return m_money_io ;
	}
	public void setMoneyIo(String v)
	{
		m_money_io = v;
	}

	public double getMoney()
	{
		return m_money ;
	}
	public void setMoney(double v)
	{
		m_money = v;
	}

	public String getMoneyDate()
	{
		return m_money_date ;
	}
	public void setMoneyDate(String v)
	{
		m_money_date = v;
	}

	public String getCreateUserId()
	{
		return m_create_user_id ;
	}
	public void setCreateUserId(String v)
	{
		m_create_user_id = v;
	}

	public String getCreateUser()
	{
		return m_create_user ;
	}
	public void setCreateUser(String v)
	{
		m_create_user = v;
	}

	public String getCreateTime()
	{
		return m_create_time ;
	}
	public void setCreateTime(String v)
	{
		m_create_time = v;
	}
		



	public String viewId() throws Exception
	{
		return Value.view(getId());
	}

	public String viewWarehouseCode() throws Exception
	{
		return Value.view(getWarehouseCode());
	}

	public String viewWarehouseName() throws Exception
	{
		return Value.view(getWarehouseName());
	}

	public String viewMoneyType() throws Exception
	{
		return Value.view(getMoneyType());
	}

	public String viewMoneyIo() throws Exception
	{
		return Value.view(getMoneyIo());
	}

	public String viewMoney() throws Exception
	{
		return Value.view(getMoney());
	}

	public String viewMoneyDate() throws Exception
	{
		return Value.view(getMoneyDate());
	}

	public String viewCreateUserId() throws Exception
	{
		return Value.view(getCreateUserId());
	}

	public String viewCreateUser() throws Exception
	{
		return Value.view(getCreateUser());
	}

	public String viewCreateTime() throws Exception
	{
		return Value.view(getCreateTime());
	}


	public Conditions toConditions() throws Exception
	{
		Conditions c = super.toConditions();

	c.add(getCondition(BillMonthIo.ID,getId()));

	c.add(getCondition(BillMonthIo.WAREHOUSE_CODE,getWarehouseCode()));

	c.add(getCondition(BillMonthIo.WAREHOUSE_NAME,getWarehouseName()));

	c.add(getCondition(BillMonthIo.MONEY_TYPE,getMoneyType()));

	c.add(getCondition(BillMonthIo.MONEY_IO,getMoneyIo()));

	c.add(getCondition(BillMonthIo.MONEY,getMoney()));

	c.add(getCondition(BillMonthIo.MONEY_DATE,getMoneyDate()));

	c.add(getCondition(BillMonthIo.CREATE_USER_ID,getCreateUserId()));

	c.add(getCondition(BillMonthIo.CREATE_USER,getCreateUser()));

	c.add(getCondition(BillMonthIo.CREATE_TIME,getCreateTime()));
		

			
		return c ;
	}
	
//add by Arrow start

//add by Arrow end
}
